package com.ys.enume.finance;

//转账业务类型码
public class TcwBusinessSceneCodeEnum {
	
	public enum BusinessSceneCode {
		THIRD_PARTY_PAYOUT("转账到第三方卡。第三方卡包括企业卡和个人卡", "THIRD_PARTY_PAYOUT"),
		SAME_NAME_PAYOUT("提现到同名卡", "SAME_NAME_PAYOUT"),
		;

		public String name;
		public String value;

		private BusinessSceneCode(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public static String getName(String value) {
			for (BusinessSceneCode e : BusinessSceneCode.values()) {
				if (e.value == value) {
					return e.name;
				}
			}
			return "";
		}

		public static String getValue(String name) {
			for (BusinessSceneCode e : BusinessSceneCode.values()) {
				if (e.name == name) {
					return e.value;
				}
			}
			return "";
		}


	}
}
